#pragma once

#include "TcpServer.h"
#include "Task.h"

class ThreadPool;
class EchoServer
{
public:
    EchoServer(const string &ip, unsigned int port, size_t threadnum);
    ~EchoServer();
private:
    TcpServer _server;
    // ThreadPool _threadpool;
};